Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 1 May 2019 17:24:19 +0000 (18:24 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 1 May 2019 17:24:19 +0000 (18:24 +0100)
commitf2cf70176c9b9ad7585a82410cebcf2b3177b345
tree5380d240c1c94dc39b72a6b963de24bd11451aab
parent5e4d00b5e70e59b8b32241d61808af3756c7154d
Fix SS_ONSTACK support

* sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
unlocks SS and returns to the saved PC.
(__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
thread stack instead of the saved PC.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ONSTACK.diff
sysdeps/mach/hurd/i386/sigreturn.c